package org.ruoyi.dhuman.domain.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.ruoyi.common.dhuman.config.properties.DhumanProperties;

import javax.validation.constraints.Max;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class TTSRequestVo implements Serializable {
	private String id;
	/**
	 * 文案
	 */
	@Length(max = DhumanProperties.ttsMaxCharacters, message = "文案已超过" + DhumanProperties.ttsMaxCharacters + "个字符")
	private String copyText;
	/**
	 * 语音合成表达式
	 */
	private String ttsExpression;
}
